<include file="public@header" />
<style>
	.control-val{
		padding-top: 7px;
	}
</style>
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('AdminCardRedeem/index')}">兑换信息</a></li>
			<li class="active"><a>编辑礼券</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('AdminCardRedeem/editPost')}">
			<div class="form-group">
				<label class="col-sm-2 control-label">
					名称
				</label>
				<div class="col-md-3 col-sm-10 control-val">
					{$redeem->name}
				</div>
				<label class="col-sm-2 control-label">
					电话
				</label>
				<div class="col-md-3 col-sm-10 control-val">
					{$redeem->tele}
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					地址
				</label>
				<div class="col-md-8 col-sm-10 control-val">
					{$redeem->address}
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					快递编号
				</label>
				<div class="col-md-3 col-sm-10 control-val">
					<input type="text" class="form-control" name="express_no" value="{$redeem->express_no}">
				</div>
				<label class="col-sm-2 control-label">
					发货状态
				</label>
				<div class="col-md-3 col-sm-10 control-val">
					<select name="express_status" class="form-control">
						<volist name=":express_status()" id="vo">
							<option value="{$key}" <if condition="$key eq $redeem['express_status']">selected</if>>{$vo}</option>
						</volist>


					</select>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" name="id" value="{$redeem->id}" />
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
					<a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>